<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<h6>使用插值表达式</h6>
			<!-- <img src="{{imgUrl}}" alt=""> 运行时报错 -->
			<h6>v-bind</h6>
			<img :src="imgUrl" alt="">
		</div>
		<script>
			let app=new Vue({
				el:'#app',
				data:{
					imgUrl:'https://cn.vuejs.org/images/logo.png'
				}
			});
		</script>
	</body>
</html>
